<%@ page import="gdepot.TransactionRecord" %>



<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'versionCode', 'error')} required">
	<label for="versionCode">
		<g:message code="transactionRecord.versionCode.label" default="Version Code" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="versionCode" maxlength="4" required="" value="${transactionRecordInstance?.versionCode}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'payType', 'error')} ">
	<label for="payType">
		<g:message code="transactionRecord.payType.label" default="Pay Type" />
		
	</label>
	<g:textField name="payType" maxlength="50" value="${transactionRecordInstance?.payType}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'orderSerialNumber', 'error')} required">
	<label for="orderSerialNumber">
		<g:message code="transactionRecord.orderSerialNumber.label" default="Order Serial Number" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="orderSerialNumber" maxlength="30" required="" value="${transactionRecordInstance?.orderSerialNumber}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'transactionAmount', 'error')} required">
	<label for="transactionAmount">
		<g:message code="transactionRecord.transactionAmount.label" default="Transaction Amount" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="transactionAmount" value="${fieldValue(bean: transactionRecordInstance, field: 'transactionAmount')}" required=""/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'enterpriseSerialNumber', 'error')} ">
	<label for="enterpriseSerialNumber">
		<g:message code="transactionRecord.enterpriseSerialNumber.label" default="Enterprise Serial Number" />
		
	</label>
	<g:textField name="enterpriseSerialNumber" maxlength="32" value="${transactionRecordInstance?.enterpriseSerialNumber}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'description', 'error')} ">
	<label for="description">
		<g:message code="transactionRecord.description.label" default="Description" />
		
	</label>
	<g:textField name="description" maxlength="100" value="${transactionRecordInstance?.description}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'payStatus', 'error')} ">
	<label for="payStatus">
		<g:message code="transactionRecord.payStatus.label" default="Pay Status" />
		
	</label>
	<g:select name="payStatus" from="${transactionRecordInstance.constraints.payStatus.inList}" value="${transactionRecordInstance?.payStatus}" valueMessagePrefix="transactionRecord.payStatus" noSelection="['': '']"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'responeCode', 'error')} ">
	<label for="responeCode">
		<g:message code="transactionRecord.responeCode.label" default="Respone Code" />
		
	</label>
	<g:textField name="responeCode" maxlength="6" value="${transactionRecordInstance?.responeCode}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'responeDescription', 'error')} ">
	<label for="responeDescription">
		<g:message code="transactionRecord.responeDescription.label" default="Respone Description" />
		
	</label>
	<g:textArea name="responeDescription" cols="40" rows="5" maxlength="1024" value="${transactionRecordInstance?.responeDescription}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'operateType', 'error')} ">
	<label for="operateType">
		<g:message code="transactionRecord.operateType.label" default="Operate Type" />
		
	</label>
	<g:textField name="operateType" maxlength="10" value="${transactionRecordInstance?.operateType}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'withholdingAgreementNo', 'error')} ">
	<label for="withholdingAgreementNo">
		<g:message code="transactionRecord.withholdingAgreementNo.label" default="Withholding Agreement No" />
		
	</label>
	<g:textField name="withholdingAgreementNo" maxlength="50" value="${transactionRecordInstance?.withholdingAgreementNo}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'signWithholding', 'error')} ">
	<label for="signWithholding">
		<g:message code="transactionRecord.signWithholding.label" default="Sign Withholding" />
		
	</label>
	<g:textField name="signWithholding" maxlength="50" value="${transactionRecordInstance?.signWithholding}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'notifyURL', 'error')} ">
	<label for="notifyURL">
		<g:message code="transactionRecord.notifyURL.label" default="Notify URL" />
		
	</label>
	<g:textField name="notifyURL" maxlength="100" value="${transactionRecordInstance?.notifyURL}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'businessType', 'error')} ">
	<label for="businessType">
		<g:message code="transactionRecord.businessType.label" default="Business Type" />
		
	</label>
	<g:textField name="businessType" maxlength="5" value="${transactionRecordInstance?.businessType}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'responeFuiouSerialNumber', 'error')} ">
	<label for="responeFuiouSerialNumber">
		<g:message code="transactionRecord.responeFuiouSerialNumber.label" default="Respone Fuiou Serial Number" />
		
	</label>
	<g:textField name="responeFuiouSerialNumber" maxlength="50" value="${transactionRecordInstance?.responeFuiouSerialNumber}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'verificationCode', 'error')} ">
	<label for="verificationCode">
		<g:message code="transactionRecord.verificationCode.label" default="Verification Code" />
		
	</label>
	<g:textField name="verificationCode" maxlength="10" value="${transactionRecordInstance?.verificationCode}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'responeDeelStateCode', 'error')} ">
	<label for="responeDeelStateCode">
		<g:message code="transactionRecord.responeDeelStateCode.label" default="Respone Deel State Code" />
		
	</label>
	<g:textField name="responeDeelStateCode" maxlength="10" value="${transactionRecordInstance?.responeDeelStateCode}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'order', 'error')} ">
	<label for="order">
		<g:message code="transactionRecord.order.label" default="Order" />
		
	</label>
	<g:select id="order" name="order.id" from="${gdepot.Orders.list()}" optionKey="id" value="${transactionRecordInstance?.order?.id}" class="many-to-one" noSelection="['null': '']"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'accountBank', 'error')} ">
	<label for="accountBank">
		<g:message code="transactionRecord.accountBank.label" default="Account Bank" />
		
	</label>
	<g:select id="accountBank" name="accountBank.id" from="${gdepot.AccountBank.list()}" optionKey="id" value="${transactionRecordInstance?.accountBank?.id}" class="many-to-one" noSelection="['null': '']"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'responeDeelTime', 'error')} ">
	<label for="responeDeelTime">
		<g:message code="transactionRecord.responeDeelTime.label" default="Respone Deel Time" />
		
	</label>
	<g:textField name="responeDeelTime" value="${transactionRecordInstance?.responeDeelTime}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'createDate', 'error')} required">
	<label for="createDate">
		<g:message code="transactionRecord.createDate.label" default="Create Date" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="createDate" precision="day"  value="${transactionRecordInstance?.createDate}"  />

</div>

<div class="fieldcontain ${hasErrors(bean: transactionRecordInstance, field: 'modifiedDate', 'error')} required">
	<label for="modifiedDate">
		<g:message code="transactionRecord.modifiedDate.label" default="Modified Date" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="modifiedDate" precision="day"  value="${transactionRecordInstance?.modifiedDate}"  />

</div>

